FROM openjdk:11-jre-slim
WORKDIR /opt/gf
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY target/stell-gateway-0.0.1-SNAPSHOT.jar /opt/gf/stell-gateway-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","/opt/gf/stell-gateway-0.0.1-SNAPSHOT.jar"]